<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * App\Address
 *
 * @property int $address_id 用户地址id
 * @property int $user_id 用户id
 * @property string $consignee 收货人
 * @property string|null $country 国家
 * @property string $position_ids 省市区id集
 * @property string $province 省
 * @property string $city 市
 * @property string $district 街道
 * @property string $address 地址
 * @property string $mobile 手机
 * @property int|null $is_default 是否为默认
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereAddress($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereAddressId($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereCity($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereConsignee($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereCountry($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereDistrict($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereIsDefault($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereMobile($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address wherePositionIds($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereProvince($value)
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Address whereUserId($value)
 * @mixin \Eloquent
 */
class Address extends Model
{
    protected $table='address';
    public $timestamps=false;
    protected $primaryKey = 'address_id';

    protected $fillable = ['user_id',  'consignee', 'country', 'province', 'city', 'district', 'address', 'mobile', 'is_default', 'position_ids'];
}
